package com.kfm.hotel.mapper;

import com.kfm.hotel.domain.SysRole;
import com.kfm.hotel.domain.SysUserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author 10854
* @description 针对表【sys_user_role(用户角色关系表)】的数据库操作Mapper
* @createDate 2023-06-26 10:49:38
* @Entity com.kfm.hotel.domain.SysUserRole
*/
public interface SysUserRoleMapper extends BaseMapper<SysUserRole> {

    List<SysRole> getRoleByUserId(Integer userId);
}




